package com.ubaer.zsycz.inject.components;


import android.app.Activity;
import android.content.Context;

import com.ubaer.zsycz.MyApplication;
import com.ubaer.zsycz.inject.modules.ActivityModule;
import com.ubaer.zsycz.inject.scope.PerActivity;
import com.ubaer.zsycz.ui.activity.LoginActivity;
import com.ubaer.zsycz.ui.activity.OrderDetailsActivity;
import com.ubaer.zsycz.ui.activity.SearchResultActivity;

import dagger.Component;

/**
 * author：lsw
 */
@PerActivity
@Component(dependencies = AppComponent.class, modules = ActivityModule.class)
public interface ActivityComponent {

    Activity getActivity();

    Context getContext();

    void inject(MyApplication myApplication);

    void inject(LoginActivity loginActivity);

    void inject(SearchResultActivity searchResultActivity);

    void inject(OrderDetailsActivity orderDetailsActivity);


}



